<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:a4j="http://richfaces.org/a4j">

<ui:composition template="/resources/templates/mainLayout.xhtml">
	<ui:define name="corpo">

		<h:form>
			<div class="centralizacaoPagina" align="center">
				<p:fieldset style="width: 30%; border-color: #FF3030; border-width: 5px;" >
					<div class="linha">
						<div class="coluna25pc">
							<h:outputLabel value="Usuário: " />
						</div>
						<p:inputText value="#{loginAction.nome}" id="usuario" />
					</div>
					<div class="linha">
						<div class="coluna25pc">
							<h:outputLabel value="Senha: " />
						</div>
						<p:password id="senha" value="#{loginAction.senha}" />
					</div>
					<div class="linha" style="margin-left: 98px; padding-top: 10px;">
						<p:commandButton action="#" value="Salvar" />
					</div>
					<div class="linha" align="center" style="padding: 5%;">
						<h:commandLink value="Cadastre-se aqui!" styleClass="sublinhadoTexto"
							action="#{loginAction.preCadastro()}" style="color: blue;">
						</h:commandLink>
					</div>
				</p:fieldset>
			</div>
		</h:form>
	</ui:define>
</ui:composition>
</html>